<template>
  <div class="box">
    <!-- lable-width 加上宽度之后，label 文字和 input 可以放一行 -->
    <el-form label-width="100px">
      <el-form-item label="手机号">
        <el-input placeholder="请输入手机号" />
      </el-form-item>
      <el-form-item label="验证码">
        <el-input placeholder="请输入验证码" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary">登录</el-button>
        <el-button>重置</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<style lang="scss" scoped>
.box {
  width: 500px;
  padding: 50px;
}
</style>
